/*
 * $$Id: Topic.java,v 1.6 2004/01/26 11:32:04 bel70 Exp $$
 *
 * ***** BEGIN LICENSE BLOCK *****
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in 
 * compliance with the License. You may obtain a copy of the License 
 * at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and 
 * limitations under the License.
 *
 * The Original Code is jforum forum code.
 *
 * The Initial Developer of the Original Code is the JResearch, Org. 
 * Portions created by the Initial Developer are Copyright (C) 2004 
 * the Initial Developer. All Rights Reserved. 
 * 
 * Contributor(s): 
 *              Dmitry Belov <bel@jresearch.org>
 *        
 * ***** END LICENSE BLOCK ***** */
/*
 * Created on 07.05.2003
 *
 */
package com.jred.jforum.beans.forum;

import java.io.Serializable;

import java.util.Date;


/**
 * DOCUMENT ME!
 *
 * @author Bel
 */
public class Topic implements Serializable {
    private long messagesCount;
    private Message lastMessage;
    private Date lintime;
    private int threadid;
    private int tagid;
    private String tagname;
    private int sortby;
    private int locked;
    private int vcount;
    private String subject;


	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public int getTagid() {
		return tagid;
	}

	public void setTagid(int tagid) {
		this.tagid = tagid;
	}

	/**
     * DOCUMENT ME!
     *
     * @return DOCUMENT ME!
     */
    public Date getLintime() {
        return lintime;
    }

    /**
     * DOCUMENT ME!
     *
     * @return DOCUMENT ME!
     */
    public int getThreadid() {
        return threadid;
    }

    /**
     * DOCUMENT ME!
     *
     * @param lintime DOCUMENT ME!
     */
    public void setLintime(Date lintime) {
        this.lintime = lintime;
    }

    /**
     * DOCUMENT ME!
     *
     * @param threadid DOCUMENT ME!
     */
    public void setThreadid(int threadid) {
        this.threadid = threadid;
    }

    /**
     * DOCUMENT ME!
     *
     * @return
     */
    public Message getLastMessage() {
        return lastMessage;
    }

    /**
     * DOCUMENT ME!
     *
     * @param message
     */
    public void setLastMessage(Message message) {
        lastMessage = message;
    }

    /**
     * DOCUMENT ME!
     *
     * @return
     */
    public String getSubject() {
        return subject;
    }

    /**
     * DOCUMENT ME!
     *
     * @param string
     */
    public void setSubject(String string) {
        subject = string;
    }

    /**
     * DOCUMENT ME!
     *
     * @return
     */
    public long getMessagesCount() {
        return messagesCount;
    }

    /**
     * DOCUMENT ME!
     *
     * @param i
     */
    public void setMessagesCount(long i) {
        messagesCount = i;
    }

    /**
     * DOCUMENT ME!
     *
     * @return
     */
    public int getSortby() {
        return sortby;
    }

    /**
     * DOCUMENT ME!
     *
     * @param i
     */
    public void setSortby(int i) {
        sortby = i;
    }

    /**
     * DOCUMENT ME!
     *
     * @return
     */
    public int getLocked() {
        return locked;
    }

    /**
     * DOCUMENT ME!
     *
     * @param i
     */
    public void setLocked(int i) {
        locked = i;
    }

	public int getVcount() {
		return vcount;
	}

	public void setVcount(int vcount) {
		this.vcount = vcount;
	}

}
